import request from '@/utils/request'


export function currentOss(){
  return request({
    url: '/system/aOss/current',
    method: 'get'
  })
}

// 获取腾讯cos STS
export function getCosSTS(query) {
  return request({
    url: '/system/aOss/cosSTS',
    method: 'get',
    params: query
  });
}

// 获取阿里oss STS
export function getOssSTS(query) {
  return request({
    url: '/system/aOss/ossSTS',
    method: 'get',
    params: query
  });
}
